package com.fqh.service;

import com.fqh.entity.Fooddetail;

import java.util.List;

public interface FoodDetailService {

    List<Fooddetail> findAllDetail(int page, int limit, String search);

    Integer findCount(String search);

    Integer addFoodDetail(Fooddetail fooddetail) throws Exception;

    void deleteByFoodClassid(Integer id) throws Exception;

    Fooddetail findFooddetailByFoodId(Integer id);

    void updateFoodDetail(Fooddetail fooddetail) throws Exception;
}
